package com.example.administrator.base.bean;

/**
 * Created by Administrator on 2017/7/21 0021.
 */

public class GprsReqBean2 {


    /**
     * code : 1
     * lockGpsRealData : {"map":{"altitude":0,"addTime":"2017-06-21 15:27:11","openLockTimes":138,"signalIntensity":16,"batteryVoltage":0.354,"latitude":0,"updateTime":"2017-07-15 17:16:39","speed":0,"sendTime":"2017-07-15 17:11:16","satelliteNum":0,"alarmState":1,"lockStatus":"锁关_低电上传_运营_放电_正常","chargeVoltage":0.002,"online":false,"iD":19476,"simNo":"638032622008","longitude":0,"direction":0,"status":1,"batteryLevel":4}}
     * message : 获取车辆信息成功
     */

    private int code;
    private LockGpsRealDataBean lockGpsRealData;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public LockGpsRealDataBean getLockGpsRealData() {
        return lockGpsRealData;
    }

    public void setLockGpsRealData(LockGpsRealDataBean lockGpsRealData) {
        this.lockGpsRealData = lockGpsRealData;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class LockGpsRealDataBean {
        /**
         * map : {"altitude":0,"addTime":"2017-06-21 15:27:11","openLockTimes":138,"signalIntensity":16,"batteryVoltage":0.354,"latitude":0,"updateTime":"2017-07-15 17:16:39","speed":0,"sendTime":"2017-07-15 17:11:16","satelliteNum":0,"alarmState":1,"lockStatus":"锁关_低电上传_运营_放电_正常","chargeVoltage":0.002,"online":false,"iD":19476,"simNo":"638032622008","longitude":0,"direction":0,"status":1,"batteryLevel":4}
         */

        private MapBean map;

        public MapBean getMap() {
            return map;
        }

        public void setMap(MapBean map) {
            this.map = map;
        }

        public static class MapBean {
            /**
             * altitude : 0
             * addTime : 2017-06-21 15:27:11
             * openLockTimes : 138
             * signalIntensity : 16
             * batteryVoltage : 0.354
             * latitude : 0
             * updateTime : 2017-07-15 17:16:39
             * speed : 0
             * sendTime : 2017-07-15 17:11:16
             * satelliteNum : 0
             * alarmState : 1
             * lockStatus : 锁关_低电上传_运营_放电_正常
             * chargeVoltage : 0.002
             * online : false
             * iD : 19476
             * simNo : 638032622008
             * longitude : 0
             * direction : 0
             * status : 1
             * batteryLevel : 4
             */

            private int altitude;
            private String addTime;
            private int openLockTimes;
            private int signalIntensity;
            private double batteryVoltage;
            private double latitude;
            private String updateTime;
            private int speed;
            private String sendTime;
            private int satelliteNum;
            private int alarmState;
            private String lockStatus;
            private double chargeVoltage;
            private boolean online;
            private int iD;
            private String simNo;
            private double longitude;
            private int direction;
            private int status;
            private int batteryLevel;

            public int getAltitude() {
                return altitude;
            }

            public void setAltitude(int altitude) {
                this.altitude = altitude;
            }

            public String getAddTime() {
                return addTime;
            }

            public void setAddTime(String addTime) {
                this.addTime = addTime;
            }

            public int getOpenLockTimes() {
                return openLockTimes;
            }

            public void setOpenLockTimes(int openLockTimes) {
                this.openLockTimes = openLockTimes;
            }

            public int getSignalIntensity() {
                return signalIntensity;
            }

            public void setSignalIntensity(int signalIntensity) {
                this.signalIntensity = signalIntensity;
            }

            public double getBatteryVoltage() {
                return batteryVoltage;
            }

            public void setBatteryVoltage(double batteryVoltage) {
                this.batteryVoltage = batteryVoltage;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public int getSpeed() {
                return speed;
            }

            public void setSpeed(int speed) {
                this.speed = speed;
            }

            public String getSendTime() {
                return sendTime;
            }

            public void setSendTime(String sendTime) {
                this.sendTime = sendTime;
            }

            public int getSatelliteNum() {
                return satelliteNum;
            }

            public void setSatelliteNum(int satelliteNum) {
                this.satelliteNum = satelliteNum;
            }

            public int getAlarmState() {
                return alarmState;
            }

            public void setAlarmState(int alarmState) {
                this.alarmState = alarmState;
            }

            public String getLockStatus() {
                return lockStatus;
            }

            public void setLockStatus(String lockStatus) {
                this.lockStatus = lockStatus;
            }

            public double getChargeVoltage() {
                return chargeVoltage;
            }

            public void setChargeVoltage(double chargeVoltage) {
                this.chargeVoltage = chargeVoltage;
            }

            public boolean isOnline() {
                return online;
            }

            public void setOnline(boolean online) {
                this.online = online;
            }

            public int getID() {
                return iD;
            }

            public void setID(int iD) {
                this.iD = iD;
            }

            public String getSimNo() {
                return simNo;
            }

            public void setSimNo(String simNo) {
                this.simNo = simNo;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public int getDirection() {
                return direction;
            }

            public void setDirection(int direction) {
                this.direction = direction;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getBatteryLevel() {
                return batteryLevel;
            }

            public void setBatteryLevel(int batteryLevel) {
                this.batteryLevel = batteryLevel;
            }
        }
    }
}
